package com.biscuit.page.basicservice.model.constant;

/**
 * @author mazihao
 * @createTime 2024/3/23 14:47
 */
public class RedisConstant {

    /**
     * 认证验证码
     */
    public static final String LOGIN_AUTHENTICATION_SEND_CODE_PREFIX = "login:authentication:send_code:";

    /**
     * 用户授权 Token
     */
    public static final String LOGIN_AUTHORIZATION_TOKEN_PREFIX = "login:authorization:token:id_";

    public static final String LOGIN_AUTHORIZATION_SETTING_PREFIX = "login:authorization:setting:account_id_";

    public static final String DEFAULT_COLLECTION_UPDATE_STATUS = "collection:defaultUpdate";

    /**
     * 单个 ip 验证码请求次数
     */
    public static final String VERIFICATION_CODE_IP_COUNT_PREFIX = "verification_code:ip:";

}
